package ascloud.biz;

import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;

import ascloud.biz.config.LegacyRootConfig;
import ascloud.biz.config.LegacyServletConfig;

public class LegacyWebApplicationInitializer extends AbstractAnnotationConfigDispatcherServletInitializer {

	@Override
	protected Class<?>[] getRootConfigClasses() {
		return new Class<?>[] { LegacyRootConfig.class };
	}

	@Override
	protected Class<?>[] getServletConfigClasses() {
		return new Class<?>[] { LegacyServletConfig.class };
	}

	@Override
	protected String[] getServletMappings() {
		return new String[] { "/" };
	}
	
}